package com.plian.system.entity.sys.fun;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2024/8/1 2:36 PM
 * @Param
 * @return
 * @Version: 1.0
 **/
@Data
@TableName("sys_fun")
@ApiModel(value = "SysFun", description = "菜单")
public class SysFun implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单路径")
    private String url;

    @TableField(value = "pid")
    @ApiModelProperty(value = "父节点Id")
    private String parentId;

    @ApiModelProperty(value = "")
    private String style;

    @ApiModelProperty(value = "类型：0-模块类型；1-扩展菜单；2-功能菜单；3-按钮菜单")
    private Integer type;

    @TableField(value = "OGDERNMBER")
    @ApiModelProperty(value = "排序码")
    private String orderNumber;

    @TableField(value = "ISCONFIG")
    @ApiModelProperty(value = "前后台：0-后台，1-前台")
    private Integer isConfig;

    @ApiModelProperty(value = "表单类型")
    private Integer formType;
}
